<template>
	<view class="card">
	 <view>-</view>
	 <slot>
	 <view class="h1">{{cardH1}}</view>
	 </slot>
	 <view>-</view>
	</view>
</template>

<script>
	export default{
		props:{
			cardH1:String
		}
		}
</script>

<style scoped>
 .card{
	 padding: 20rpx;
	 display: flex;
	justify-content: center;
	font-weight: 700;
 }
 .h1{
	 padding: 0 20rpx;

 }
</style>